package edu.pku.sei.transformation.structure;

import edu.pku.sei.mdabase.core.INamedElement;

public class Mode implements INamedElement
{
	
	String name;
	Mode parentMode = null;
	
	public Mode(String name)
	{
		this.name = name;
	}
	
	@Override
	public String getName()
	{
		return name;
	}

	@Override
	public void setName(String name)
	{
		this.name = name;
	}
	
	public Mode getParent()
	{
		return parentMode;
	}
	
	public void setParent(Mode par)
	{
		parentMode = par;
	}

}
